import PubSub from 'pubsub-js'
Page({
    onLoad(options) {
        PubSub.subscribe('msgEvent',(msg,data)=>{
            console.log("msg=",msg,'data=',data);
        })
    }
})